<template>
  <div>
    <h3>使用v-model进行组件传参</h3>
    <p>当前选择的语言是：{{ language }}</p>
    <ModelValue v-model="language"></ModelValue>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import ModelValue from './ModelValue.vue'

const language = ref('Java')
</script>

<style scoped></style>
